//----------------------------------------------------------------------------
//  (c) 2006    Guillermo Jimenez Diaz
//----------------------------------------------------------------------------
#include "nstringqueue/nstringqueue.h"
#include "kernel/nkernelserver.h"
nNebulaScriptClass(nStringQueue, "nroot")

//----------------------------------------------------------------------------
/**
*/
nStringQueue::nStringQueue()
{
}

//----------------------------------------------------------------------------
/**
*/
nStringQueue::~nStringQueue()
{
}
//----------------------------------------------------------------------------
/**
*/
void nStringQueue::add(const char *str) {
	this->impl.push(str);
}

//----------------------------------------------------------------------------
/**
*/
bool nStringQueue::isempty(){
	return this->impl.empty();
}

//----------------------------------------------------------------------------
/**
*/
std::string nStringQueue::getFront(){
	return this->impl.front().c_str();
}

//----------------------------------------------------------------------------
/**
*/
void nStringQueue::remFront(){
	this->impl.pop();
}
//----------------------------------------------------------------------------
// EOF
//----------------------------------------------------------------------------
